package com.ktjiaoyu.crm.service;

import com.ktjiaoyu.crm.mapper.UserDao;
import com.ktjiaoyu.crm.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public int saveUser(User user) {

        return userDao.insert(user);
    }
}
